import service from "@/utils/request"

// 员工查询
export const getEmployeeList = (parms?:any) => {
    return service.post<any,any>(`/mes/pcStitchWorker/getStitchList`,parms)

}

// 添加员工
export const addEmployee = (parms:any) => {
    return service.post<any,any>(`/mes/pcStitchWorker/addStitch`,parms) 
}

// 删除员工
export const deleteEmployee = (parms:any) => {
    return service.post<any,any>(`/mes/pcStitchWorker/deleteStitch`,parms)
}

// 修改员工
export const editEmployee = (parms:any) => {
    return service.post<any,any>(`/mes/pcStitchWorker/updateStitch`,parms)
}